home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / appl / napsaterm / telnet.h < prev    next >
C/C++ Source or Header  |  1994-05-14  |  962b  |  44 lines

  1. /* $Id: telnet.h,v 3.1 1994/05/14 14:17:07 ppessi Exp $
  2.  * 
  3.  * telnet.h --- global telnet code definitions
  4.  *
  5.  * Authors: Tomi Ollila <Tomi.Ollila@hut.fi>
  6.  *          Pekka Pessi <Pekka.Pessi@hut.fi>
  7.  *
  8.  * Copyright © 1994   AmiTCP/IP Group, <amitcp-group@hut.fi>
  9.  *                    Helsinki University of Technology, Finland.
  10.  *              All rights reserved.
  11.  *
  12.  * Created      : Wed May 11 17:40:19 1994 ppessi
  13.  * Last modified: Fri May 13 02:43:53 1994 ppessi
  14.  *
  15.  */
  16.  
  17. #ifndef INCLUDED_TELNET_H
  18. #define INCLUDED_TELNET_H
  19.  
  20. #ifndef INCLUDED_AMIGA_H
  21. #include "amiga.h"
  22. #endif
  23.  
  24. /* Prototypes */
  25. #ifdef USE_PRAGMAS
  26. #include <proto/socket.h>
  27. #endif
  28. #ifdef USE_INLINE
  29. #include <inline/socket.h>
  30. #endif
  31. #ifdef USE_CLIB
  32. #include <clib/socket_protos.h>
  33. #endif
  34.  
  35. extern long telnetdo(u_char *buffer, long len);
  36.  
  37. extern int rsock;        /* telnet socket */
  38. extern const char termnames[3][6];
  39. extern void do_naws(void);
  40. extern char okwinch;
  41.  
  42. #define TELNETBUFFERSIZE 512
  43. #endif
  44.